﻿using AutoMapper;
using DevExpress.Xpo;
using KayakMes.Check.Application.Input;
using KayakMes.Check.Application.OUT;
using KayakMes.Check.Domain;
using KayakMes.Common.Dtos;
using KayakMes.Common.Dtos.CheckDto;
using System;

namespace KayakMes.Check.API
{
    public class MyAutoMappers : Profile
    {
        public MyAutoMappers() 
        {
            CreateMap<AddCheckWayInput, CheckWayModel>();
            CreateMap<CheckWayModel, CheckWayDto>();
            CreateMap<UpdateCheckWayInput, CheckWayModel>();

            CreateMap<AddCheckItemInput, CheckItemModel>();

            CreateMap<UpdateChenitemInput, CheckItemModel>();


            
            CreateMap<UpdateCheckStandardItemInput, CheckStandardItemModel>();

            CreateMap<UpdateCheckStandardInput, CheckStandardModel>();

            CreateMap<CheckStandardModel, CheckStandardDto>();

            CreateMap<AddCheckStandardInput, CheckStandardModel>();
            CreateMap<CheckStandardItemInput, CheckStandardItemModel>();

            CreateMap<CheckResultModel, CheckResullDTOs>();


            CreateMap<VersionModel, VersionOut>();

            CreateMap<AddQuotationinput, QuotationModel>();

            CreateMap<QuotationModel, QuotationOut>();

        }
      
    }

}